package com.netgeeker.univbuzz.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 5715946786300842623L;
	
	private Integer id;
	private String username;
	private String password;
	private Userinfo userinfo;
	private Set repliesForReplyto = new HashSet(0);
	private Set repliesForUserid = new HashSet(0);
	private Set services = new HashSet(0);

	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(String username, String password) {
		this.username = username;
		this.password = password;
	}

	/** full constructor */
	public User(String username, String password, Set repliesForReplyto,
			Set repliesForUserid, Userinfo userinfo, Set services) {
		this.username = username;
		this.password = password;
		this.repliesForReplyto = repliesForReplyto;
		this.repliesForUserid = repliesForUserid;
		this.userinfo = userinfo;
		this.services = services;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Set getRepliesForReplyto() {
		return this.repliesForReplyto;
	}

	public void setRepliesForReplyto(Set repliesForReplyto) {
		this.repliesForReplyto = repliesForReplyto;
	}

	public Set getRepliesForUserid() {
		return this.repliesForUserid;
	}

	public void setRepliesForUserid(Set repliesForUserid) {
		this.repliesForUserid = repliesForUserid;
	}

	public Set getServices() {
		return this.services;
	}

	public void setServices(Set services) {
		this.services = services;
	}

	public Userinfo getUserinfo() {
		return userinfo;
	}

	public void setUserinfo(Userinfo userinfo) {
		this.userinfo = userinfo;
	}

}